//
//  CLWorkAreaDetailHeaderView.m
//  ZhuKuang
//
//  Created by jjkj on 17/7/11.
//  Copyright © 2017年 jjkj. All rights reserved.
//

#import "CLWorkAreaDetailHeaderView.h"

@implementation CLWorkAreaDetailHeaderView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (IBAction)sortCarModelAction:(UIButton *)sender {
    
    sender.selected = !sender.selected;
    if (400 == sender.tag) {
        self.sortByOilLossArrowBtn.selected = sender.selected;
    }else {
       self.sortByMileArrowBtn.selected = sender.selected;
    }
    
    if (self.sortCarBlock) {
        self.sortCarBlock(sender);
    }
}

@end
